/**
 * 主题颜色
 */
export const ThemeColors = [
    {
        name: '默认',
        className: 'default',
        color: '#1f78c8',
    },
    {
        name: '经典蓝',
        className: 'blue',
        color: '#409EFF',
    },
    {
        name: '玫紫',
        className: 'purple',
        color: '#722ED1',
    },
    {
        name: '湛蓝',
        className: 'azure',
        color: '#211BCE',
    },
    {
        name: '海洋',
        className: 'ocean',
        color: '#13C2C2',
    },
    {
        name: '生机',
        className: 'green',
        color: '#3EAC12',
    },
    {
        name: '墨绿',
        className: 'green',
        color: '#009688',
    },
    {
        name: '丰收',
        className: 'yellow',
        color: '#F8BC18',
    },
    {
        name: '阳橙',
        className: 'orange',
        color: '#F5811C',
    },
    {
        name: '热情',
        className: 'red',
        color: '#F5222D',
    },
]

/**
 * 默认主题颜色
 */
export const DefaultThemeColor = '#409EFF'

/**
 * 默认时间数组
 */
export const defaultTimes = [
    new Date(2000, 1, 1, 0, 0, 0),
    new Date(2000, 2, 1, 23, 59, 59),
]
/**
 * 默认时间
 */
export const defaultStartTime = new Date(2000, 1, 1, 0, 0, 0)
export const defaultEndTime = new Date(2000, 1, 1, 23, 59, 59)

/**
 * 白名单
 */
export const WhiteList = [
    "/auth/publicKey"
];

/**
 * 时间格式
 */
export const DATE_FORMAT = 'YYYY-MM-DD';


/**
 * 上传文件类型
 */
export const Upload = {
    URL: import.meta.env.VITE_APP_BASE_API + "/file/upload",
    FILETYPE: {
        AUDIO: "audio",
        FILE: "file",
        IMAGE: "image",
        VIDEO: "video",
    },
    TYPE: {
        PAYMENT: "payment",
        SELLER: 'seller',
        PRODUCT: 'product',
        ORDER: 'order',
        APP: 'app',
        AVATAR: 'avatar'
    },
};
